<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
            background-color: gray;
            padding: 10px;
            display: flex;
            height: 150px;

            /* align-items: sketch; */
        }
        .container > div {
            background-color: orange;
            padding: 7px;
            /* width: 50px; */
            margin: 0 5px;
        }
    </style>
</head>
<body>
    <h1>弹性子元素的属性</h1>
    <h2>align-self</h2>
    <div class="container">
        <div>默认值</div>
        <div style="align-self: sketch;">stretch</div>
        <div style="align-self: flex-start;">align-self: flex-start</div>
        <div style="align-self: flex-end;">align-self: flex-end;</div>
        <div style="align-self: center;">align-self: center;</div>
        <div style="align-self: baseline;">align-self: baseline;</div>
    </div>
    <h2>order</h2>
    <div class="container">
        <div>默认值</div>
        <div style="order: 1;">1</div>
        <div style="order: 5;">5</div>
        <div style="order: -1;">-1</div>
        <div style="order: -5;">-5</div>
        <div style="order: 0;">0</div>
    </div>
</body>
</html>